<input hidden="hidden" id="navValue" value="牡丹荟分红设置">
<div class="page-content">
    <div class="page-header">
        <h1>
            牡丹荟管理
            <small>
                <i class="ace-icon fa fa-angle-double-right"></i>
                牡丹荟基础配置
            </small>

            <label style="margin-left: 50px;">
                <button type="button" class="btn btn-purple btn-sm" onclick="location='{:url("peony/insertConfig")}'">
                <span class="ace-icon fa fa-plus-circle icon-on-right bigger-110"></span>
                添加牡丹荟分红配置
                </button>
            </label>
        </h1>
    </div><!-- /.page-header -->
    <div class="row">
        <div class="col-xs-12">
            <table id="simple-table" class="table  table-bordered table-hover">
                <thead>
                <tr>
                    <th class="center">
                        <label class="pos-rel">
                            <input type="checkbox" class="ace">
                            <span class="lbl"></span>
                        </label>
                    </th>
                    <th class="center">期数</th>
                    <th class="center">开始时间</th>
                    <th class="center">结束时间</th>
                    <th class="center">条件</th>
                </tr>
                </thead>

                <tbody>
                {volist name="configs" id="c"}
                <tr class="center">
                    <td>
                        <label class="pos-rel">
                            <input type="checkbox" class="ace">
                            <span class="lbl"></span>
                        </label>
                    </td>
                    <td>{$c -> id}</td>
                    <td>{$c -> start_date}</td>
                    <td>{$c -> end_date}</td>
                    <td>{$c -> condition}</td>
                </tr>
                {/volist}
                </tbody>
            </table>
        </div><!-- /.span -->
    </div><!-- /.row -->
    {$configs->render()}
    <!-- PAGE CONTENT ENDS -->
</div><!-- /.col -->
</div><!-- /.row -->
</div>
